package com.yfqy.admin.service.impl;

import org.springframework.stereotype.Service;
import jakarta.annotation.Resource;
import com.yfqy.admin.domain.mapper.PaymentRecordMapper;
import com.yfqy.admin.domain.entity.PaymentRecord;
import com.yfqy.admin.service.PaymentRecordService;

@Service
public class PaymentRecordServiceImpl implements PaymentRecordService {

    @Resource
    private PaymentRecordMapper paymentRecordMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return paymentRecordMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(PaymentRecord record) {
        return paymentRecordMapper.insert(record);
    }

    @Override
    public int insertSelective(PaymentRecord record) {
        return paymentRecordMapper.insertSelective(record);
    }

    @Override
    public PaymentRecord selectByPrimaryKey(Long id) {
        return paymentRecordMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(PaymentRecord record) {
        return paymentRecordMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(PaymentRecord record) {
        return paymentRecordMapper.updateByPrimaryKey(record);
    }

}
